package com.ctshk.rpc.order.tour.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 收据明细
 * </p>
 *
 * @author 谭响
 * @since 2021-02-04
 */
@Data
@ApiModel(value="收据明细预览保险DTO", description="收据明细预览保险DTO")
public class SeriesOrderReceiptDetailsPreviewInsuranceDTO implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "团期ID")
    private Long scheduleId;

    @ApiModelProperty(value = "数据来源（1：收款，2：收据）")
    private Integer dataSource;

    @ApiModelProperty(value = "收款Id项")
    private List<Long> collectionIdList;

    @ApiModelProperty(value = "團體/旅客姓名")
    private String touristName;

    @ApiModelProperty(value = "組辦公司AGENT")
    private String agent;

    @ApiModelProperty(value = "交餘款時間")
    private LocalDate mantissaDate;

    @ApiModelProperty(value = "團號TOUR CODE")
    private String tourCode;

    @ApiModelProperty(value = "天數DAYS")
    private Integer days;

    @ApiModelProperty(value = "出發日期DEP.DATE")
    private String depDate;

    @ApiModelProperty(value = "行程線路ROUTE")
    private String route;

    @ApiModelProperty(value = "保單單號")
    private String insuranceNumber;

    @ApiModelProperty(value = "保單公司")
    private String insuranceCompany;

    @ApiModelProperty(value = "保单二维码")
    private String insuranceURL;

    @ApiModelProperty(value = "保險計劃")
    private String insurancePlan;

    @ApiModelProperty(value = "起保日期")
    private LocalDate insuranceStartDate;

    @ApiModelProperty(value = "结保日期")
    private LocalDate insuranceEndDate;

    @ApiModelProperty(value = "被保人")
    private List<SeriesOrderReceiptDetailsPreviewInsuranceItemDTO> insuredList;

    @ApiModelProperty(value = "总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "發單日期")
    private LocalDate receiptDate;

    @ApiModelProperty(value = "收据编号")
    private String receiptNumber;

    @ApiModelProperty(value = "印花税图片")
    private String stampDutyPic;

}
